package jy.hibernate.beans;

import java.util.Date;

/**
 * output_detail  entity
 * @author tingzi
 *
 */
public class Output_detail implements java.io.Serializable{
	private static final long serialVersionUID = 149306546082972778L;
	//Fields
	private Integer output_detail_id;//自增长id
	private Product_information product;//
	private Output_store outputStore;//
	private Integer pro_num;//
	private Float weight;//
	private Float volume;//
	private Region_info region;//
	private String  shelf_ids="";
	private String barcode="";
	public Integer getOutput_detail_id() {
		return output_detail_id;
	}
	public void setOutput_detail_id(Integer output_detail_id) {
		this.output_detail_id = output_detail_id;
	}
	public Product_information getProduct() {
		return product;
	}
	public void setProduct(Product_information product) {
		this.product = product;
	}
	public Output_store getOutputStore() {
		return outputStore;
	}
	public void setOutputStore(Output_store outputStore) {
		this.outputStore = outputStore;
	}
	public Integer getPro_num() {
		return pro_num;
	}
	public void setPro_num(Integer pro_num) {
		this.pro_num = pro_num;
	}
	public Float getWeight() {
		return weight;
	}
	public void setWeight(Float weight) {
		this.weight = weight;
	}
	public Float getVolume() {
		return volume;
	}
	public void setVolume(Float volume) {
		this.volume = volume;
	}
	public Region_info getRegion() {
		return region;
	}
	public void setRegion(Region_info region) {
		this.region = region;
	}
	public String getShelf_ids() {
		return shelf_ids;
	}
	public void setShelf_ids(String shelf_ids) {
		this.shelf_ids = shelf_ids;
	}
	public String getBarcode() {
		return barcode;
	}
	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}
	public Output_detail(Product_information product, Output_store outputStore,
			Integer pro_num, Float weight, Float volume, Region_info region,
			String shelf_ids, String barcode) {
		super();
		this.product = product;
		this.outputStore = outputStore;
		this.pro_num = pro_num;
		this.weight = weight;
		this.volume = volume;
		this.region = region;
		this.shelf_ids = shelf_ids;
		this.barcode = barcode;
	}
	@Override
	public String toString() {
		
		return "product_name:"+product.getPro_name()+"/tinputStore:"+outputStore.getOutput_number()
	       +"/tpro_num:"+pro_num+"/tweight"+weight+"/tvolume:"+volume+"/tregion:"+region.getRegion_name()
	       +"/tshelf_ids:"+shelf_ids +"/tbarcode:"+barcode;
	}
}
